package org.bambrikii.photobank.payment.dao;

import java.util.List;

import org.bambrikii.photobank.payment.model.PhotoOrder;
import org.bambrikii.photobank.payment.model.PhotoOrderItem;
import org.bambrikii.site.base.core.dao.IDAOBase;

public interface IPhotoOrderItemDAO extends IDAOBase<PhotoOrderItem> {

	public abstract int getCount(PhotoOrder order);

	public abstract List<PhotoOrderItem> getList(PhotoOrder order,
			String sortOrder, int start, int length);

	public abstract PhotoOrderItem getItem(Integer orderItemId, Integer userId);

}